lcBlockAddDimVer LiteCAD API

Adds a new vertical dimension object into a block.

 HANDLE lcBlockAddDimVer (
   HANDLE hBlock,
   double X0,
   double Y0,
   double X1,
   double Y1,
   double Xt,
   LPCWSTR szText
 );

Parameters
hBlock
  Handle to a block.
X0 Y0
  First definition point.
X1 Y1
  Second definition point.
Xt
  Text and dimension line position.
szText
  User-supplied dimension text.
If no text is to appear, supply "." .
If only the default text is to appear, supply an empty string "".
The default text is represented as "<>" within the supplied text.

Return Value

  Handle to created vertical dimension object or NULL if the function fails.

See Also

  Dimension style,   Code sample